import service from "./request2";

export function user_list2(params = {}) {
    return service.get('/', { params })
}
export function add(params = {}) {
    return service.get('/1', { params })
}
// 学生删除
export function stu_del(id){
    console.log("cccc",id)
    return service.delete(`/studentlist/${id}`)
}
// 学生信息更新
export function stu_updata(params = {}){
    var {id}=params
    console.log("cccc",id)
    return service.patch(`/studentlist/${id}`, params)
}
// 学生增加
export function stu_setdata(params = {}){
    return service.post(`/studentlist`, params)
}
// 获取学生列表
export function stu_list(params = {}){
    return service.get(`/studentlist`, params)
}
// 学生搜索列表
export function stu_searchlist(params = {}){
    console.log(params)
    return service.get(`/studentlist?name_like=`,params)
}
// 密接
export function stumijie_list(params = {}){
    console.log(params)
    return service.get(`/stumijielist`,params)
}
// 地图
export function map_list(params = {}){
    console.log(params)
    return service.get(`/maplist`,params)
}
// videolist
export function video_list(params = {}){
    console.log(params)
    return service.get(`/videolist`,params)
}
// avideolist
export function avideo_list(params = {}){
    console.log(params)
    return service.get(`/avideolist`,params)
}